<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
        <!-- css -->
        <link href="../css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
        <link href="../css/simple-line-icons.min.css" rel="stylesheet" type="text/css"/>
        <link href="../css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
        <link href="../css/components.min.css" rel="stylesheet" type="text/css"/>
        <link href="../css/layout.min.css" rel="stylesheet" type="text/css"/>
        <link href="../css/light.min.css" rel="stylesheet" type="text/css"/>
        <link href="../css/main.css" rel="stylesheet" type="text/css"/>
        <link href="../css/multi-select.css" rel="stylesheet" type="text/css"/>
        <link href="../css/bootstrap-fileinput.css" rel="stylesheet" type="text/css"/>
        <!-- js -->
        <script src="../js/jquery-1.9.1.min.js" type="text/javascript"></script>
        <script src="../js/bootstrap.min.js" type="text/javascript"></script>
        <script src="../js/app.min.js" type="text/javascript"></script>
        <script src="../js/layout.min.js" type="text/javascript"></script>
        <script src="../js/main.js" type="text/javascript"></script>
        <script src="../js/bootstrap-fileinput.js" type="text/javascript"></script>
        <title>组织管理</title>
        <!-- END THEME LAYOUT STYLES -->
    </head>
    <!-- END HEAD -->

    <body class="page-header-fixed page-sidebar-closed-hide-logo page-content-white">
        <div class="page-header navbar navbar-fixed-top">
            <!-- BEGIN HEADER INNER -->
            <div class="page-header-inner ">
                <div class="page-logo">
                    <img class="ml40 mt15" src="../images/icons/logo.png" alt=""/>
                </div>
                <a href="javascript:;" class="menu-toggler responsive-toggler" data-toggle="collapse" data-target=".navbar-collapse">
                    <span></span>
                </a>
                <div class="page-top">
                    <div class="top-menu">
                        <ul class="nav navbar-nav pull-right">
                            <li class="separator hide"> </li>
                            <li class="dropdown dropdown-user dropdown-dark">
                                <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
                                    <img alt="" class="user-img" src="../images/icons/user.png" /> 
                                </a>
                                <ul class="dropdown-menu dropdown-menu-default">
                                    <li>
                                        <a href="mybooking.html">
                                            <img src="../images/icons/mybooking.png" alt=""/>&nbsp;&nbsp;我的订单
                                        </a>
                                    </li>
                                    <li>
                                        <a href="myinfo.html">
                                            <img src="../images/icons/myinfo.png" alt=""/>&nbsp;&nbsp;用户信息
                                        </a>
                                    </li>
                                    <li>
                                        <a href="repwd.html">
                                            <img src="../images/icons/repwd.png" alt=""/>&nbsp;&nbsp;修改密码
                                        </a>
                                    </li>
                                </ul>
                            </li>
                            <li class="dropdown dropdown-extended dropdown-tasks dropdown-dark">
                                <a href="login.html" class="logout">Lot out</a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="page-container">
            <div class="page-sidebar-wrapper">
                <div class="page-sidebar navbar-collapse collapse">
                    <ul class="page-sidebar-menu  page-header-fixed ">
                        <li class="nav-item start">
                            <a href="index.html" class="nav-link nav-toggle">
                                <img class="icon" src="../images/icons/home.png" alt=""/><span class="title">首页</span>
                                <span class="selected"></span>
                            </a>
                        </li>
                        <li class="nav-item">
                            <a href="yunzhuji.html" class="nav-link nav-toggle">
                                <img class="icon" src="../images/icons/yunzhuji.png" alt=""/><span class="title">云主机</span>
                                <span class="selected"></span>
                            </a>
                        </li>
                        <li class="nav-item">
                            <a href="yunjiankong.html" class="nav-link nav-toggle">
                                <img class="icon" src="../images/icons/yunjiankong.png" alt=""/><span class="title">云监控</span>
                                <span class="selected"></span>
                            </a>
                        </li>
                        <li class="nav-item">
                            <a href="yunqunzu.html" class="nav-link nav-toggle">
                                <img class="icon" src="../images/icons/yunqunzu.png" alt=""/><span class="title">云群组</span>
                                <span class="selected"></span>
                            </a>
                        </li>
                        <li class="nav-item">
                            <a href="yunshichang.html" class="nav-link nav-toggle">
                                <img class="icon" src="../images/icons/yunshichang.png" alt=""/><span class="title">云市场</span>
                                <span class="selected"></span>
                            </a>
                        </li>
                        <li class="nav-item open ">
                            <a href="gerenguanli.html" class="nav-link nav-toggle">
                                <img class="icon" src="../images/icons/manager.png" alt=""/><span class="title">管理中心</span>
                                <span class="selected"></span>
                            </a>
                        </li>
                        <li class="nav-item active">
                            <a href="admin.html" class="nav-link nav-toggle">
                                <img class="icon" src="../images/icons/admin.png" alt=""/><span class="title">admin管理</span>
                                <span class="selected"></span>
                            </a>
                        </li>
                    </ul>
                    <!-- END SIDEBAR MENU -->
                    <!-- END SIDEBAR MENU -->
                </div>
                <!-- END SIDEBAR -->
            </div>
            <!-- END SIDEBAR -->
            <!-- BEGIN CONTENT -->
            <div class="page-content-wrapper">
                <!-- BEGIN CONTENT BODY -->
                <div class="page-content">
                    <div id="content">
                        <div id="admin" class="">
                            <div class="admin-header clearfix">
                                <img class="header-img" src="../images/admin/admin-header.png" alt=""/><span class="admin-title">Admin管理</span>
                            </div>
                            <div class="mt15">
                                <div class="default-header">
                                    <span class="pl20">
                                        <a href="index.html">首页</a>
                                        <i class="fa fa-angle-right" aria-hidden="true"></i>
                                        <a href="admin.html">用户管理</a>
                                        <i class="fa fa-angle-right" aria-hidden="true"></i>
                                        <span>商品编辑</span>
                                    </span>
                                </div>
                                <div class="pb20 bg-default pt15">
                                    <div class="row">
                                        <div class="col-lg-9">
                                            <form class="form-horizontal pl20 productupdate-form">
                                                <div class="form-group">
                                                    <label class="col-lg-2 col-md-2 col-sm-3 control-label color-687780"><span class="default-square"></span>商品名称<span class="color-red">*</span></label>
                                                    <div class="col-md-5">
                                                        <input type="text" class="form-control" maxlength="50" placeholder="">
                                                    </div>
                                                    <div class="col-lg-5 pt10"><span class="color-red font-12 ">(商品名称最多50个字)</span></div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="col-lg-2 col-md-2 col-sm-3 control-label color-687780"><span class="default-square"></span>价格</label>
                                                    <div class="col-md-3">
                                                        <input type="number" class="form-control" placeholder="">
                                                    </div>
                                                    <div class="col-md-7 pt10"><span class="color-red font-12 ">若留空则只显示原价</span></div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="col-lg-2 col-md-2 col-sm-3 control-label color-687780"><span class="default-square"></span>原价<span class="color-red">*</span></label>
                                                    <div class="col-md-3">
                                                        <input type="number" class="form-control" placeholder="">
                                                    </div>
                                                    <div class="col-md-7 pt10"></div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="col-lg-2 col-md-2 col-sm-3 control-label color-687780"><span class="default-square"></span>单位<span class="color-red">*</span></label>
                                                    <div class="col-md-3">
                                                        <input type="text" class="form-control" placeholder="">
                                                    </div>
                                                    <div class="col-md-7 pt10"><span class="color-red font-12 ">商品规格</span></div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="col-lg-2 col-md-2 col-sm-3 control-label color-687780"><span class="default-square"></span>商品图片</label>
                                                    <div class="col-md-9">
                                                        <div class="fileinput fileinput-new" data-provides="fileinput">
                                                            <div class="fileinput-new thumbnail" style="width: 200px; height: 200px;">
                                                                <img src="../images/admin/placeholder200.png" alt=""/> 
                                                            </div>
                                                            <div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 200px; max-height: 200px;"> </div>
                                                            <span class="btn default btn-file btn-blue normal">
                                                                <span class="fileinput-new"> 上传图片 </span>
                                                                <span class="fileinput-exists"> 修改 </span>
                                                                <input type="file" name="..."> </span>
                                                            <a href="javascript:;" class="btn red fileinput-exists normal" data-dismiss="fileinput"> 删除 </a>
                                                            <span class="color-red font-12 file-tip">建议尺寸(最佳效果) ：800*800</span>                                                
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="col-lg-2 col-md-2 col-sm-3 control-label color-687780"><span class="default-square"></span>商品上架</label>
                                                    <div class="col-md-9">
                                                        <div class="mt-radio-inline">
                                                            <label class="local-radio mt-radio">
                                                                <input type="radio" name="optionsRadios" id="optionsRadios25" value="1"> 上架
                                                                <span></span>
                                                            </label>
                                                            <label class="local-radio mt-radio">
                                                                <input type="radio" name="optionsRadios" id="optionsRadios26" value="2"> 下架
                                                                <span></span>
                                                            </label>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="col-lg-2 col-md-2 col-sm-3 control-label color-687780"><span class="default-square"></span>商品介绍<span class="color-red">*</span></label>
                                                    <div class="col-md-5">
                                                        <textarea class="form-control" rows="3" maxlength="200"></textarea>
                                                    </div>
                                                    <div class="col-lg-5 pt10"><span class="color-red font-12 ">(商品简介最多200字)</span></div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="col-lg-2 col-md-2 col-sm-3 control-label color-687780"><span class="default-square"></span>商品详情<span class="color-red">*</span></label>
                                                    <div class="col-md-5">
                                                        <textarea class="form-control" rows="3" maxlength="2000"></textarea>
                                                    </div>
                                                    <div class="col-lg-5 pt10"><span class="color-red font-12 ">(商品详情最多2000字)</span></div>
                                                </div>
                                                <div class="form-group">
                                                    <div class="col-lg-offset-2 col-md-offset-2 col-sm-offset-3 col-lg-5 mt30">
                                                        <button class="btn btn-blue pl20 pr20"> 提交 </button>
                                                        <a href="admin.html" class="btn btn-blue pl20 pr20 ml20"> 返回 </a>
                                                    </div>
                                                </div>
                                            </form>
                                        </div>
                                    </div>
                                </div>
                                <div class="mt10"><span class="color-red">*</span><span class="color-687780">为必填</span></div>
                            </div>
                        </div><!-- content -->
                    </div>
                </div>     
            </div>
            <!-- END QUICK SIDEBAR -->
        </div>
        <div class="page-footer">
            <div class="page-footer-inner">

            </div>
            <div class="scroll-to-top">
                <i class="icon-arrow-up"></i>
            </div>
        </div>

        <div class="modal fade modal-default banUserModal" tabindex="-1" role="dialog" aria-labelledby="banUserModal" aria-hidden="true">
            <div class="modal-dialog modal-sm">
                <div class="modal-title"><span class="close" data-dismiss="modal"></span>提示</div>
                <div class="modal-content">
                    <div class="pt35 pl15">
                        <div>
                            <div class="mb5 text-center"><img src="../images/manager/confirm.png" alt=""/></div>
                            <div class="font-12 text-center">您确定要将选中用户封禁吗？</div>
                            <div class="mt35 text-center">
                                <a class="btn btn-blue mr35" data-dismiss="modal">确认</a>
                                <a class="btn btn-default" data-dismiss="modal">取消</a>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </div>
        <div class="modal fade modal-default closeOrganizationModal" tabindex="-1" role="dialog" aria-labelledby="closeOrganizationModal" aria-hidden="true">
            <div class="modal-dialog modal-sm">
                <div class="modal-title"><span class="close" data-dismiss="modal"></span>提示</div>
                <div class="modal-content">
                    <div class="pt35 pl15">
                        <div>
                            <div class="mb5 text-center"><img src="../images/manager/confirm.png" alt=""/></div>
                            <div class="font-12 text-center">您确定要将选中组织进行关闭操作吗？</div>
                            <div class="mt35 text-center">
                                <a class="btn btn-blue mr35" data-dismiss="modal">确认</a>
                                <a class="btn btn-default" data-dismiss="modal">取消</a>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </div>
        <div class="modal fade modal-default closeChannelModal" tabindex="-1" role="dialog" aria-labelledby="closeChannelModal" aria-hidden="true">
            <div class="modal-dialog modal-sm">
                <div class="modal-title"><span class="close" data-dismiss="modal"></span>提示</div>
                <div class="modal-content">
                    <div class="pt35 pl15">
                        <div>
                            <div class="mb5 text-center"><img src="../images/manager/confirm.png" alt=""/></div>
                            <div class="font-12 text-center">您确定要将选中渠道进行关闭操作吗？</div>
                            <div class="mt35 text-center">
                                <a class="btn btn-blue mr35" data-dismiss="modal">确认</a>
                                <a class="btn btn-default" data-dismiss="modal">取消</a>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </div>
        <div class="modal fade modal-default organizationInfoModal" tabindex="-1" role="dialog" aria-labelledby="addOrganizationModal" aria-hidden="true">
            <div class="modal-dialog modal-md mt150">
                <div class="modal-title"><span class="close" data-dismiss="modal"></span>组织详情</div>
                <div class="modal-content">
                    <div class="pt10 text-left pr20">
                        <div class="row">
                            <div class="col-sm-4 mt15 text-right">组织名称：</div>
                            <div class="col-sm-8 mt15">上海纷讯信息科技有限公司</div>
                            <div class="col-sm-4 mt15 text-right">联系人：</div>
                            <div class="col-sm-8 mt15">Walt Pu</div>
                            <div class="col-sm-4 mt15 text-right">联系电话：</div>
                            <div class="col-sm-8 mt15">13965896666</div>
                            <div class="col-sm-4 mt15 text-right">职位：</div>
                            <div class="col-sm-8 mt15">总经理</div>
                            <div class="col-sm-4 mt15 text-right">行业：</div>
                            <div class="col-sm-8 mt15">IT服务</div>
                            <div class="col-sm-4 mt15 text-right">规模范围：</div>
                            <div class="col-sm-8 mt15">50人以下</div>
                            <div class="col-sm-4 mt15 text-right">网址：</div>
                            <div class="col-sm-8 mt15">www.fallfish.com.cn</div>
                            <div class="col-sm-4 mt15 text-right">联系地址：</div>
                            <div class="col-sm-8 mt15">上海市徐汇区凯旋路3131号603室</div>
                            <div class="col-sm-4 mt15 text-right">组织描述：</div>
                            <div class="col-sm-8 mt15">这个人很懒，什么都没留下</div>
                        </div>
                        <div class="mt30 text-center"><a class="btn btn-blue" data-dismiss="modal">关闭组织</a>
                            <a class="btn btn-default ml20" data-dismiss="modal">好的</a></div>
                    </div>
                </div>
            </div>
        </div>
        <script>
            $(document).ready(function () {
                //时间筛选
                var date = $(".dateStart").datepicker({
                    //startDate: "+1d",
                    //todayBtn: true,
                    autoclose: true,
                    //todayHighlight: true,
                    pickerPosition: "bottom-left",
                    format: "yyyy-mm-dd",
                    language: "zh-CN"
                }).on('changeDate', function (e) {
                    $('.dateEnd').datepicker('setStartDate', getStartTime(e.date));
                });
                $(".dateEnd").datepicker({
                    //startDate: "+1d",
                    //todayBtn: true,
                    autoclose: true,
                    //todayHighlight: true,
                    pickerPosition: "bottom-left",
                    format: "yyyy-mm-dd",
                    language: "zh-CN"
                });
                var date = new Date();
                var now = date.Format('yyyy-MM-dd HH:mm');
                $('#nowTime').text(now);
                $('.usersCheckAll').click(function () {
                    if ($(this).is(':checked')) {
                        $(this).parents('.users').find('input[type="checkbox"]').prop('checked', true);
                    } else {
                        $(this).parents('.users').find('input[type="checkbox"]').prop('checked', false);
                    }

                });
                $('.organizationCheckAll').click(function () {
                    if ($(this).is(':checked')) {
                        $(this).parents('.organization').find('input[type="checkbox"]').prop('checked', true);
                    } else {
                        $(this).parents('.organization').find('input[type="checkbox"]').prop('checked', false);
                    }

                });
                $('#toChannelUpdate').click(function () {
                    $('.channelInfo').hide();
                    $('.channelUpdate').show();
                });
                $('#createChannelBtn').click(function () {
                    $('.channelUpdate').hide();
                    $('.channelInfo').show();
                });
            });
        </script>

        <!--[if lt IE 9]>
<script src="../assets/global/plugins/respond.min.js"></script>
<script src="../assets/global/plugins/excanvas.min.js"></script> 
<![endif]-->
    </body>
</html>